package model.Sensor;
/*
import lejos.nxt.Motor;
import lejos.nxt.SensorPort;
import lejos.nxt.TouchSensor;

public class Aktuator {
	TouchSensor touchWindow;
	TouchSensor touchPlant;
	public Aktuator(){
		touchWindow = new TouchSensor(SensorPort.S3);
		touchPlant = new TouchSensor(SensorPort.S1);
	}
	public void openWindow(){
		while(true){
			if(!touchWindow.isPressed()){
			Motor.B.forward();
			}
			if(touchWindow.isPressed()){
				Motor.B.stop();
				break;
			}
		}
	}
	public void closeWindow(){
		if(touchWindow.isPressed()){
		Motor.B.stop();
		Motor.B.rotate(-2000);
		
		}
		}
	public void discardPlant(){
		if(touchPlant.isPressed()){
		Motor.A.rotate(1800);
		}
	}
	public void plantPlant(){
		
		while(true){
			if(!touchPlant.isPressed()){
			Motor.A.backward();
			}
			if(touchPlant.isPressed()){
				Motor.A.stop();
				break;
			}
		}
	}
	
}
*/